package com.atguigu.gulimail.product.dao;

import com.atguigu.common.constant.ProductConstant;
import com.atguigu.gulimail.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * spu信息
 * 
 * @author wangliou
 * @email wangliou@gmail.com
 * @date 2021-12-10 23:41:23
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {
    void updateSpuStatus(@Param("spuId") Long spuId, @Param("code") int code);

    //void updateSpuStatus(@Param("spuId") Long spuId, @Param("spuUp") ProductConstant.StatusEnum spuUp);
}
